package com.ss.android.newmedia.activity;

import android.content.DialogInterface;

import com.ss.android.b.AdManager.b;
import com.ss.android.common.ad.MobAdClickCombiner;
import com.ss.android.common.app.permission.PermissionsManager;
import org.json.JSONObject;

final class g implements DialogInterface.OnClickListener {
    public final AbsSplashActivity b;
    private final JSONObject c;
    public final b a;

    g(AbsSplashActivity arg1, b arg2, JSONObject arg3) {
        this.b = arg1;
        this.a = arg2;
        this.c = arg3;

    }

    public final void onClick(DialogInterface arg11, int arg12) {
        PermissionsManager.getInstance().requestPermission(this.b, new String[]{"android.permission.WRITE_EXTERNAL_STORAGE"}, new h(this));
        MobAdClickCombiner.onAdEvent(this.b, "splash_ad", "download_confirm", this.a.id, 0, this.c, 3);
    }
}

